package com.ifcreate.infowell.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author chenzedeng
 * @Email yustart@foxmail.com
 * @Create 2020-10-28 2:56 下午
 */
@Data
public class RelationVo {

    //fromId
    @NotNull(message = "froms not null")
    private Long target;

    //toId
    @NotNull(message = "to not null")
    private Long source;

    @NotBlank(message = "relation not blank")
    private String relation;
}
